package com.mf.all.emuns;

import lombok.Getter;

/**
 * @Author: lmf
 * @Create: 2025/3/8 22:02
 * Description:  任务状态
 */
@Getter
public enum TaskStatusEnum {
    UN_START(0, "未开始"),
    IN_PROGRESS(1, "进行中"),
    PAUSE(5, "暂停"),
    END(8, "结束"),
    CANCELLED(9, "已取消"),
    CANCELLATION(99, "作废");

    final private Integer code;
    final private String message;


    TaskStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
